﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="rapport.aspx.vb" Inherits="Intresseanmälan.rapport" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False"
            DataKeyNames="ID" DataSourceID="SqlDataSource1" BorderColor="Black" BorderStyle="Solid" Width="1008px">
            <Columns>
                <asp:BoundField DataField="F&#246;rnamn" HeaderText="F&#246;rnamn" SortExpression="F&#246;rnamn" />
                <asp:BoundField DataField="Efternamn" HeaderText="Efternamn" SortExpression="Efternamn" />
                <asp:BoundField DataField="Telefonnummer" HeaderText="Telefonnummer" SortExpression="Telefonnummer" />
                <asp:BoundField DataField="Epost" HeaderText="Epost" SortExpression="Epost" />
                <asp:BoundField DataField="Personnummer" HeaderText="Personnummer" SortExpression="Personnummer" />
                <asp:BoundField DataField="ID" HeaderText="ID" ReadOnly="True" SortExpression="ID" />
                <asp:BoundField DataField="Rubrik" HeaderText="Rubrik" SortExpression="Rubrik" />
                <asp:BoundField DataField="Datum" HeaderText="Datum" SortExpression="Datum" />
            </Columns>
            <RowStyle BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" />
            <HeaderStyle HorizontalAlign="Left" />
            <AlternatingRowStyle BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px" />
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="SELECT [Förnamn], [Efternamn], [Telefonnummer], [Epost], [Personnummer], [ID], [Rubrik], [Datum] FROM [Anmälningar]">
        </asp:SqlDataSource>
    
    </div>
    </form>
</body>
</html>
